package coroutines

import kotlinx.coroutines.*

@DelicateCoroutinesApi
fun main() = runBlocking {
    val job = GlobalScope.launch {
        delay(1000L)
        println("你好世界  ${Thread.currentThread().name}")
    }
    println("Hello World  ${Thread.currentThread().name}")
    //    Thread.sleep(2000L)
//    runBlocking {
//        delay(2000L)
//        println("你好北京 ${Thread.currentThread().name}")
//    }
    job.join()
}

fun hello() = run { }